/**
 * @file thread_config.h
 * @brief 线程配置
 * 
 * @author dalin (dalin@open-robot.com)
 * @version 1.0
 * @date 2023-05-09
 * 
 * @copyright Copyright (c) 2023  Open Robot Tech.co, Ltd
 * 
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2023-05-09 <td>1.0     <td>dalin     <td>内容
 * </table>
 */

#ifndef _THREAD_CONFIG_H_
#define _THREAD_CONFIG_H_

/* 任务周期控制 */

#define THREAD_DELAY_CONTROL        100
#define THREAD_DELAY_COMMUN         100
#define THREAD_DELAY_EXCEPTION      100
#define THREAD_DELAY_DISPLAY        500
#define THREAD_DELAY_IDLE           1000
#define THREAD_DELAY_BTEST          10

/* 任务启动延时 */
#define INTO_THREAD_DELAY           500


// -------------------定义可视化配置---------------------
//***<<< Use Configuration Wizard in Context Menu >>>***

//  <h> VERSION INFO
// <s>Thread Config Version
//  <i>Driver configuration file version
#define THREAD_CONFIG_VERSION "0.0.1"
//  </h>


// <h>MCU ENABLE THREAD
// <c1>
// ENABLE THREAD ---> BTEST
#define USE_BTEST_THREAD
// </c>
// <c1>
// ENABLE THREAD ---> IDLE
#define USE_IDLE_THREAD
// </c>
// <c1>
// ENABLE THREAD ---> CONTROL
#define USE_CONTROL_THREAD
// </c>
// <c1>
// ENABLE THREAD ---> COMMUN
#define USE_COMMUN_THREAD
// </c>
// <c1>
// ENABLE THREAD ---> DISPLAY
#define USE_DISPLAY_THREAD
// </c>
// <c1>
// ENABLE THREAD ---> EXECPTION
#define USE_EXECPTION_THREAD
// </c>
// <c1>
// ENABLE THREAD ---> SENSOR
#define USE_SENSOR_THREAD
// </c>
// </h>



//***<<< end of configuration section >>>***


#endif /* _THREAD_CONFIG_H_ */
